package com.open.capacity.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ActivityModel {
    private Long actiid;//活动ID
    private Integer bussid;//商家id
    private Double reduce;//减免金额
    @DateTimeFormat(pattern = "YYYY-MM-dd")
    @JsonFormat(pattern = "YYYY-MM-dd",timezone="GMT+8")
    private Date crtime;//创建时间
    @DateTimeFormat(pattern = "YYYY-MM-dd")
    @JsonFormat(pattern = "YYYY-MM-dd",timezone="GMT+8")
    private Date uptime;//修改时间
    private String remark;//备注
    @DateTimeFormat(pattern = "YYYY-MM-dd")
    @JsonFormat(pattern = "YYYY-MM-dd",timezone="GMT+8")
    private Date starts;//开始时间
    @DateTimeFormat(pattern = "YYYY-MM-dd")
    @JsonFormat(pattern = "YYYY-MM-dd",timezone="GMT+8")
    private Date endtim;//结束时间
    private Integer enable;//状态
    private Integer aclass;
}
